import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import project from './modules/project'
import attribute from './modules/attribute'
import windowWidth from './modules/windowWidth'


Vue.use(Vuex)
const debug = process.env.NODE_ENV !== 'production'
export default new Vuex.Store({
  modules: {
    user,
    project,
    attribute,
    windowWidth,
  },
  strict: debug
})